package com.kf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author RenYuXin
 * 2019/11/28 10:43
 * Department部门表
 */
@Data
@TableName("department")
public class Department {
    /**
     * id
     */
    @TableId(value = "department_id",type = IdType.AUTO)
    private Integer departmentId;
    /**
     * 部门名称
     */
    @TableField(value = "department_name")
    private String departmentName;
    /**
     * 父id
     */
    @TableField(value = "department_parent_id")
    private Integer departmentParentId;
    /**
     * 路径
     */
    @TableField(value = "department_path")
    private String departmentPath;
    /**
     * 启用状态
     */
    @TableField(value = "department_enabled")
    private Integer departmentEnabled;
    /**
     *
     */
    @TableField(value = "department_isparent")
    private Integer departmentIsparent;
    /**
     * 预留字段1
     */
    @TableField(value = "department_exit1")
    private String departmentExit1;
    /**
     * 预留字段2
     */
    @TableField(value = "department_exit2")
    private Integer departmentExit2;
}
